package com.pajk.user.api.http;

import org.testng.Assert;
import org.testng.annotations.Test;

import com.pajk.test.api.BaseTest;
import com.pajk.test.client.ContextHelper;
import com.pingan.jk.api.request.ApiCode;
import com.pingan.jk.api.request.User_ResetPassword;
import com.pingan.jk.api.resp.Api_BoolResp;
import com.pingan.jk.client.ApiContext;
import com.pingan.jk.client.BaseRequest;

public class User_ResetPasswordIT extends BaseTest {
	
	@Test(description="user.resetPassword 重置用户静态密码 SecurityType.MobileOwnerTrustedDevice")
	public void resetPasswordTest(){
//		ApiContext context = super.mobileOwnerTrustedDevice();
//		
//		String newPasswd = "";
//		User_ResetPassword req = new User_ResetPassword(newPasswd);
//		ContextHelper.sendRequest(context, new BaseRequest[] { req });
//		Assert.assertEquals(req.getReturnCode() , ApiCode.SUCCESS);
//		
//		Api_BoolResp res = req.getResponse();
//		Assert.assertNotNull(res);
//		System.out.println(res.value);
		//其他验证方式
	}
}
